import { App } from 'vue'
import XtxSkeleton from './XtxSkeleton/XtxSkeleton.vue'
import Carousel from './Carousel/Carousel.vue'
import XtxMore from './XtxMore/XtxMore.vue'
import XtxBread from './XtxBread/XtxBread.vue'
import XtxBreadItem from './XtxBread/XtxBreadItem.vue'
import XtxNumbox from './XtxNumbox/XtxNumbox.vue'
import XtxButton from './XtxButton/XtxButton.vue'
import XtxCheckbox from './XtxCheckbox/XtxCheckbox.vue'
import XtxMessage from './XtxMessage/XtxMessage.vue'
import XtxDialog from './XtxDialog/XtxDialog.vue'
import XtxSwitch from './XtxSwitch/XtxSwitch.vue'
import XtxCity from './XtxCity/XtxCity.vue'

export default {
  install(app: App) {
    app.component('XtxSkeleton', XtxSkeleton),
    app.component('Carousel', Carousel),
    app.component('XtxMore', XtxMore),
    app.component('XtxBread', XtxBread),
    app.component('XtxBreadItem', XtxBreadItem)
    app.component('XtxNumbox', XtxNumbox)
    app.component('XtxButton', XtxButton)
    app.component('XtxCheckbox', XtxCheckbox)
    app.component('XtxMessage', XtxMessage)
    app.component('XtxDialog', XtxDialog)
    app.component('XtxSwitch', XtxSwitch)
    app.component('XtxCity', XtxCity)
  }
}